<div class="page-content-area" style="margin: 0 80px;min-width: 850px;">
    <!--头部你好-->
    <div style="padding: 20px 0;">
        <span style="text-decoration: underline;">{!! Theme::get('manager') !!} </span>
        <span>&nbsp;&nbsp; 你好:</span>
    </div>
    <!--欢迎加时间-->
    <div style="padding: 0 0 20px 0;border-bottom: 1px solid #333333;">
        欢迎登录<span>{{ $webInfo['site_name'] }}</span>网站后台
        <span id="nowTime" style="font-size: 14px;float: right;"></span>
    </div>
    <!--四幅图-->
    <div style="margin-top: 40px;padding: 0 1%; display:flex;justify-content: space-between;color: #fff;">
        <div style="width: 201px;height: 68px;display: flex;text-align: center;">
            <div style="background: #6aa061;line-height: 78px;width: 62px;"><img src="{!! Theme::asset()->url('img/1.png') !!}"/></div>
            <div style="background: #87b97e;line-height: 24px;width: 141px;padding-top: 10px;">
                <span>访问总量</span>
                <br />
                <span style="font-size: 18px;">{{ $pvNum }}</span>
            </div>
        </div>
        <div style="width: 201px;height: 68px;display: flex;text-align: center;">
            <div style="background: #40a2e2;line-height: 90px;width: 62px;"><img src="{!! Theme::asset()->url('img/2.png') !!}"/></div>
            <div style="background: #6eb4e2;line-height: 24px;width: 141px;padding-top: 10px;">
                <span>新闻总数</span>
                <br />
                <span style="font-size: 18px;">{{ $newsNum }}</span>
            </div>
        </div>
        <div style="width: 201px;height: 68px;display: flex;text-align: center;">
            <div style="background: #cf8e32;line-height: 90px;width: 62px;"><img src="{!! Theme::asset()->url('img/3.png') !!}"/></div>
            <div style="background: #ffb752;line-height: 24px;width: 141px;padding-top: 10px;">
                <span>商品总量</span>
                <br />
                <span style="font-size: 18px;">{{ $productNum }}</span>
            </div>
        </div>
        <div style="width: 201px;height: 68px;display: flex;text-align: center;">
            <div style="background: #ab3825;line-height: 84px;width: 62px;"><img src="{!! Theme::asset()->url('img/4.png') !!}"/></div>
            <div style="background: #d25a46;line-height: 24px;width: 141px;padding-top: 10px;">
                <span>留言总量</span>
                <br />
                <span style="font-size: 18px;">{{ $messageNum }}</span>
            </div>
        </div>
    </div>
    <!--系统基本信息-->
    <div>
        <div style="margin-bottom:10px; color: #2c2c2c;background: #efefef;padding: 0 10px;height: 48px;line-height: 48px;margin-top: 62px;">系统基本信息</div>
        {{--<div style="border-bottom: 1px dashed #ccc;padding: 0 10px;margin-bottom:10px;">--}}
            {{--<span style="width: 10%;display: inline-block;">操作系统  </span>--}}
            {{--<span style="width: 40%;display: inline-block;">{!! php_uname() !!}</span>--}}
            {{--<span style="width: 10%;display: inline-block;">运行环境</span>--}}
            {{--<span>Apache/2.2.21 (Win64) PHP/5.3.10</span>--}}
        {{--</div>--}}
        {{--<div style="border-bottom: 1px dashed #ccc;padding: 0 10px;margin-bottom:10px;">--}}
            {{--<span style="width: 10%;display: inline-block;">程序语言  </span>--}}
            {{--<span style="width: 40%;display: inline-block;">apache2handler</span>--}}
            {{--<span style="width: 10%;display: inline-block;">数据库</span>--}}
            {{--<span>MySQL</span>--}}
        {{--</div>--}}
        <div style="border-bottom: 1px dashed #ccc;padding: 0 10px;margin-bottom:10px;">
            <span style="width: 10%;display: inline-block;">网站名称  </span>
            <span style="width: 40%;display: inline-block;">{{ $webInfo['site_name'] }}</span>
            <span style="width: 10%;display: inline-block;">网站URL</span>
            <span>{{ $webInfo['site_url'] }}</span>
        </div>
        <div style="border-bottom: 1px dashed #ccc;padding: 0 10px;margin-bottom:10px;">
            <span style="width: 10%;display: inline-block;">服务器域名    </span>
            <span style="width: 40%;display: inline-block;">{!! $_SERVER['SERVER_ADDR'] !!}</span>
            <span style="width: 10%;display: inline-block;">网站备案号 </span>
            <span>{{ $webInfo['record_number'] }}</span>
        </div>
    </div>
</div>
<!-- /.page-content-area -->
{!! Theme::asset()->container('jquery-js')->usepath()->add('jquery', 'js/jquery.min.js') !!}
<script type="text/javascript">
    function current() {
        var d = new Date(),
            str = '';
        str += d.getFullYear() + '年 '; //获取当前年份
        str += d.getMonth() + 1 + '月 '; //获取当前月份（0——11）
        str += d.getDate() + '日 ';
        str += d.getHours() + '时 ';
        str += d.getMinutes() + '分 ';
        str += d.getSeconds() + '秒 ';
        return str;
    }
    setInterval(function() {
        $("#nowTime").html(current)
    }, 1000);
</script>

